FROM python:3.11-slim-bullseye

WORKDIR /opt/fast-api-project

#COPY . .

RUN pip install uv -i https://pypi.tuna.tsinghua.edu.cn/simple && \
    uv venv /opt/fast-api-project/.venv  &&\
    uv sync

ENV LANG=zh_CN.UTF-8
EXPOSE 9999

CMD ["python", "main.py"]

